package com.website.mybatis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>@author zhangshuw
 * <p>2018/7/27
 */
@Data
@TableName(value = "sys_quartz")
public class Quartz implements Serializable {

    /**
     * 暂停
     */
    public static final String STATE_PAUSE = "0";
    /**
     * 启动
     */
    public static final String STATE_START = "1";

    private static final long serialVersionUID = -7607313349601624744L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private String displayName;

    private Date createTime;

    private Date modifyTime;

    private Integer version;

    private String jobName;
    private String operator;
    private String jobDescribe;
    private String jobClass;
    private String cron;
    private String para;
    private String state;
    
}
